package com.maywide.jdp.system.vo;

import java.io.Serializable;

import com.google.gson.annotations.Expose;

/**
 * 组织机构树对象类
 * 
 * @author luoyang
 * @version 1.0
 * @since JDK1.6
 */
public class OrganizationTree implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 8703175239949668344L;
	
	/**
	 * ID
	 */
	@Expose
	private String id = null;
	
	/**
	 * 编码
	 */
	@Expose
	private String code = null;
	
	/**
	 * 名称
	 */
	@Expose
	private String name = null;
	
	/**
	 * 描述
	 */
	@Expose
	private String description = null;
	
	/**
	 * 可用
	 */
	@Expose
	private boolean active = true;
	
	/**
	 * 显示文本
	 */
	@Expose
	private String text = null;
	
	/**
	 * 是否为叶子
	 */
	@Expose
	private boolean leaf = false;
	
	/**
	 * 负责人
	 */
	@Expose
	private String principal = null;
	
	/**
	 * 地址
	 */
	@Expose
	private String address = null;
	
	/**
	 * 电话
	 */
	@Expose
	private String phone = null;
	
	/**
	 * 手机
	 */
	@Expose
	private String mobile = null;
	
	/**
	 * 传真
	 */
	@Expose
	private String fax = null;
	
	/**
	 * 电子邮件
	 */
	@Expose
	private String email = null;
	
	/**
	 * 路径
	 */
	@Expose
	private String path = null;
	
	/**
	 * 类型
	 */
	@Expose
	private String type = null;
	
	/**
	 * parentID
	 */
	@Expose
	private String parentID = null;
	
	/**
	 * @param id the id to set
	 */
	public void setId(String id) {
		this.id = id;
	}

	/**
	 * @return the id
	 */
	public String getId() {
		return id;
	}

	/**
	 * @return the code
	 */
	public String getCode() {
		return code;
	}

	/**
	 * @param code the code to set
	 */
	public void setCode(String code) {
		this.code = code;
	}

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * @return the description
	 */
	public String getDescription() {
		return description;
	}

	/**
	 * @param description the description to set
	 */
	public void setDescription(String description) {
		this.description = description;
	}

	/**
	 * @return the active
	 */
	public boolean isActive() {
		return active;
	}

	/**
	 * @param active the active to set
	 */
	public void setActive(boolean active) {
		this.active = active;
	}

	/**
	 * @return the leaf
	 */
	public boolean isLeaf() {
		return leaf;
	}

	/**
	 * @param leaf the leaf to set
	 */
	public void setLeaf(boolean leaf) {
		this.leaf = leaf;
	}

	/**
	 * @return the text
	 */
	public String getText() {
		return text;
	}

	/**
	 * @param text the text to set
	 */
	public void setText(String text) {
		this.text = text;
	}

	/**
	 * @return the current value of the principal property
	 */
	public String getPrincipal() {
		return principal;
	}

	/**
	 * Sets the value of the principal property.
	 * 
	 * @param aPrincipal
	 *            the new value of the principal property
	 */
	public void setPrincipal(String aPrincipal) {
		principal = aPrincipal;
	}

	/**
	 * @return the current value of the address property
	 */
	public String getAddress() {
		return address;
	}

	/**
	 * Sets the value of the address property.
	 * 
	 * @param aAddress
	 *            the new value of the address property
	 */
	public void setAddress(String aAddress) {
		address = aAddress;
	}

	/**
	 * @return the current value of the phone property
	 */
	public String getPhone() {
		return phone;
	}

	/**
	 * Sets the value of the phone property.
	 * 
	 * @param aPhone
	 *            the new value of the phone property
	 */
	public void setPhone(String aPhone) {
		phone = aPhone;
	}

	/**
	 * @return the current value of the mobile property
	 */
	public String getMobile() {
		return mobile;
	}

	/**
	 * Sets the value of the mobile property.
	 * 
	 * @param aMobile
	 *            the new value of the mobile property
	 */
	public void setMobile(String aMobile) {
		mobile = aMobile;
	}

	/**
	 * @return the current value of the fax property
	 */
	public String getFax() {
		return fax;
	}

	/**
	 * Sets the value of the fax property.
	 * 
	 * @param aFax
	 *            the new value of the fax property
	 */
	public void setFax(String aFax) {
		fax = aFax;
	}

	/**
	 * @return the current value of the email property
	 */
	public String getEmail() {
		return email;
	}

	/**
	 * Sets the value of the email property.
	 * 
	 * @param aEmail
	 *            the new value of the email property
	 */
	public void setEmail(String aEmail) {
		email = aEmail;
	}

	/**
	 * @return the path
	 */
	public String getPath() {
		return path;
	}

	/**
	 * @param path the path to set
	 */
	public void setPath(String path) {
		this.path = path;
	}

	/**
	 * @return the current value of the type property
	 */
	public String getType() {
		return type;
	}

	/**
	 * Sets the value of the type property.
	 * 
	 * @param aType
	 *            the new value of the type property
	 */
	public void setType(String aType) {
		type = aType;
	}

	/**
	 * @return
	 */
	public String getParentID() {
		return parentID;
	}

	public void setParentID(String parentID) {
		this.parentID = parentID;
	}
}